// import ManualDeductionButton from './manual-deduction-button.vue'
import ReductionButton from './reduction-button.vue'
import AssistButton from './assist-button.vue'
// import RobberyButton from './robbery-button.vue'
import LeaveCaseButton from './leave-case-button.vue'
import TurnSourceButton from './turn-source-button.vue'
import PauseButton from "./pause-button.vue"
import WarehousingApplicationButton from "./warehousing-application-button.vue"
import RepaymentButton from "./repayment-button.vue"
import ContractFormationButton from "./contract-formation-button.vue"
import { MENU_CHANNEL } from '~/config/enum.config'
import AccountAdjustmentButton from './account-adjustment-button.vue'
import NotepadButton from './notepad-button.vue'
import AgentApplyButton from './agent-apply-button.vue'

export const componentsButton = {
  LeaveCaseButton,
  AssistButton,
  ReductionButton,
  PauseButton,
  // RobberyButton,
  TurnSourceButton,
  // ManualDeductionButton,
  WarehousingApplicationButton,
  RepaymentButton,
  ContractFormationButton,
  AccountAdjustmentButton,
  // NotepadButton,
  AgentApplyButton
}

export const buttonList: any = [
  {
    name: 'notepad-button',
    auth: []
  },
  {
    name: 'agent-apply-button',
    auth: []
  },
  {
    name: 'leave-case-button',
    auth: []
  },
  {
    name: 'pause-button',
    auth: []
  },
  // {
  //   name: 'assist-button',
  //   auth: []
  // },
  // // {
  // //   name: 'robbery-button',
  // //   auth: []
  // // },
  // {
  //   name: 'turn-source-button',
  //   auth: []
  // },
  // {
  //   name: 'manual-deduction-button',
  //   auth: []
  // },
  // {
  //   name: 'warehousing-application-button',
  //   auth: [MENU_CHANNEL.Visit_personal, MENU_CHANNEL.Visit_team, MENU_CHANNEL.Legal_personal, MENU_CHANNEL.Legal_team]
  // },
  // {
  //   name: 'repayment-button',
  //   auth: []
  // },
  // {
  //   name: 'contract-formation-button',
  //   auth: []
  // },
  {
    name: 'account-adjustment-button',
    auth: []
  },
  {
    name: 'reduction-button',
    auth: []
  },
]